#include "TextBlock.h"

const char& TextBlock::operator[](std::size_t position) const
{
	//Do some bound check;
	return this->str[position];
}

char& TextBlock::operator[](std::size_t position)
{
	return const_cast<char&>(
		static_cast<const TextBlock&>(*this)[position]);
}